package uumoi.security

import org.springframework.context.ApplicationListener
import org.springframework.security.authentication.event.AuthenticationSuccessEvent


class AuthSuccessfulEventListener implements ApplicationListener<AuthenticationSuccessEvent> {
	@Override
	void onApplicationEvent(AuthenticationSuccessEvent event) {
		log.info(event.authentication.principal)
	}
}
